package com.xunsiya.module.order.vo;

import com.xunsiya.module.base.DataEntity;

import java.time.ZonedDateTime;

/**
 * 订单
 *
 * @author panjun
 * @version 1.0
 *          <p>
 *          <p>修订人		修订时间			描述信息
 *          <p>-----------------------------------------------------
 *          <p>panjun		2018/10/31		初始创建
 */
public class Order extends DataEntity {
    private Long id;

    /**
     * 购买用户ID
     */
    private Long userId;

    /**
     * 订单创建时间
     */
    private ZonedDateTime orderDate;

    /**
     * 0 待审核  1 已审核  2 取消
     *
     */
    private Integer orderStatus;

    /**
     * 购买用户名
     */
    private String userName;

    /**
     * 用户手机
     */
    private String mobile;

    /**
     * 用户邮箱
     */
    private String email;


    private String imgUrl;

    private Integer companyId;

    /**
     * 注册人/企业联系人姓名
     */
    private String realName;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public ZonedDateTime getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(ZonedDateTime orderDate) {
        this.orderDate = orderDate;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
}
